VisualComposer\Modules\Hub\Templates\TemplatesUpdater A

Total Complexity 58
Dependencies 6
Dependents 0
Total lines 419
Lines of code 274
Logical lines of code 127
Comment lines 67
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
updateTemplate()
B
39 15 67
processWpMedia()
A
48 10 32
processTemplateImages()
A
48 9 33
processDesignOptions()
A
47 8 36
processTemplateDirectories()
A
49 7 32
addImageToMediaLibrary()
S
50 2 29
getTemplateElements()
S
60 3 13
updateAttachmentMeta()
S
60 2 16
__construct()
S
67 1 10
updateAttachment()
S
70 1 6